package com.indexingsystem.boss.Vo;

import java.io.Serializable;
import java.util.Date;

import com.indexingsystem.boss.entity.UserInfos;

public class PusersVo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3983066626458088818L;

	private String institutionId;

	private String userId;

	private String roleId;

	private Date lastLoginDate;

	private String userName;

	private String displayName;

	private String email;

	private String password;

	private String userFolder;

	private String portrait;

	private String target;

	private Date createDate;

	private Integer status;

	private Integer isActivate;

	private Integer isAutonym;

	private Date updatePasswordDate;

	private String registerSource;

	private String roleName;

	private UserInfos userInfos;

	private Integer isSuper;

	private String activateKey;

	private String activateLastDate;

	public PusersVo(Integer isSuper, String activateKey, String activateLastDate) {
		super();
		this.isSuper = isSuper;
		this.activateKey = activateKey;
		this.activateLastDate = activateLastDate;
	}

	public Integer getIsSuper() {
		return isSuper;
	}

	public void setIsSuper(Integer isSuper) {
		this.isSuper = isSuper;
	}

	public String getActivateKey() {
		return activateKey;
	}

	public void setActivateKey(String activateKey) {
		this.activateKey = activateKey;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getActivateLastDate() {
		return activateLastDate;
	}

	public void setActivateLastDate(String activateLastDate) {
		this.activateLastDate = activateLastDate;
	}

	public PusersVo(UserInfos userInfos) {
		super();
		this.userInfos = userInfos;
	}

	public UserInfos getUserInfos() {
		return userInfos;
	}

	public void setUserInfos(UserInfos userInfos) {
		this.userInfos = userInfos;
	}

	public String getInstitutionId() {
		return institutionId;
	}

	public void setInstitutionId(String institutionId) {
		this.institutionId = institutionId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getLastLoginDate() {
		return lastLoginDate;
	}

	public void setLastLoginDate(Date lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}

	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getUserFolder() {
		return userFolder;
	}

	public void setUserFolder(String userFolder) {
		this.userFolder = userFolder;
	}

	public String getPortrait() {
		return portrait;
	}

	public void setPortrait(String portrait) {
		this.portrait = portrait;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsActivate() {
		return isActivate;
	}

	public void setIsActivate(Integer isActivate) {
		this.isActivate = isActivate;
	}

	public Integer getIsAutonym() {
		return isAutonym;
	}

	public void setIsAutonym(Integer isAutonym) {
		this.isAutonym = isAutonym;
	}

	public Date getUpdatePasswordDate() {
		return updatePasswordDate;
	}

	public void setUpdatePasswordDate(Date updatePasswordDate) {
		this.updatePasswordDate = updatePasswordDate;
	}

	public String getRegisterSource() {
		return registerSource;
	}

	public void setRegisterSource(String registerSource) {
		this.registerSource = registerSource;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public PusersVo() {
		super();
	}

	public PusersVo(String institutionId, String userId, String roleId,
			Date lastLoginDate, String userName, String displayName,
			String email, String password, String userFolder, String portrait,
			String target, Date createDate, Integer status, Integer isActivate,
			Integer isAutonym, Date updatePasswordDate, String registerSource,
			String roleName, UserInfos userInfos, Integer isSuper,
			String activateKey, String activateLastDate) {
		super();
		this.institutionId = institutionId;
		this.userId = userId;
		this.roleId = roleId;
		this.lastLoginDate = lastLoginDate;
		this.userName = userName;
		this.displayName = displayName;
		this.email = email;
		this.password = password;
		this.userFolder = userFolder;
		this.portrait = portrait;
		this.target = target;
		this.createDate = createDate;
		this.status = status;
		this.isActivate = isActivate;
		this.isAutonym = isAutonym;
		this.updatePasswordDate = updatePasswordDate;
		this.registerSource = registerSource;
		this.roleName = roleName;
		this.userInfos = userInfos;
		this.isSuper = isSuper;
		this.activateKey = activateKey;
		this.activateLastDate = activateLastDate;
	}

	@Override
	public String toString() {
		return "PusersVo [institutionId=" + institutionId + ", userId="
				+ userId + ", roleId=" + roleId + ", lastLoginDate="
				+ lastLoginDate + ", userName=" + userName + ", displayName="
				+ displayName + ", email=" + email + ", password=" + password
				+ ", userFolder=" + userFolder + ", portrait=" + portrait
				+ ", target=" + target + ", createDate=" + createDate
				+ ", status=" + status + ", isActivate=" + isActivate
				+ ", isAutonym=" + isAutonym + ", updatePasswordDate="
				+ updatePasswordDate + ", registerSource=" + registerSource
				+ ", roleName=" + roleName + ", userInfos=" + userInfos
				+ ", isSuper=" + isSuper + ", activateKey=" + activateKey
				+ ", activateLastDate=" + activateLastDate + "]";
	}
}